package cn.funeralobjects.upm.web.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author FuneralObjects
 * Create date: 2020/5/27 4:37 PM
 */
@Data
@Accessors(chain = true)
public class MCustomPath {

    /**
     * 编码
     */
    @NotEmpty
    private String code;
    /**
     * 名称
     */
    @NotEmpty
    private String name;
    /**
     * 自定义路径
     */
    @NotEmpty
    private String url;
    @NotEmpty
    private String scope;
    /**
     * 关联的配置角色
     */
    private List<Integer> roleIds;
}
